<script setup lang="ts">
import { computed, inject,toRef } from 'vue';
const data: any = inject('data');
const info = computed(() => {
  return data.value.pc_id_info_obj || {}
})

</script>
<template>
  <div class="h3 title">（1）身份信息</div>
  <table>
  <tbody>
    <tr>
      <th colspan="2">性别</th>
      <th colspan="2">出生日期</th>
      <th>婚姻状况</th>
      <th>就业状况</th>
    </tr>
    <tr>
      <td colspan="2">{{ info.PB01AD01 }}</td>
      <td colspan="2">{{ info.PB01AR01 }}</td>
      <td>{{ data.pc_sp_info_obj?.PB020D01 }}</td>
      <td>{{ info.PB01AD04 }}</td>
    </tr>
    <tr>
      <th colspan="2">学历</th>
      <th colspan="2">学位</th>
      <th>国籍</th>
      <th>电子邮箱</th>
    </tr>
    <tr>
      <td colspan="2">{{ info.PB01AD02 }}</td>
      <td colspan="2">{{ info.PB01AD03 }}</td>
      <td>{{ info.PB01AD05 }}</td>
      <td>{{ info.PB01AQ01 }}</td>
    </tr>
    <tr>
      <th colspan="3">通讯地址</th>
      <th colspan="3">户籍地址</th>
    </tr>
    <tr>
      <td colspan="3">{{ info.PB01AQ02 }}</td>
      <td  colspan="3">{{ info.PB01AQ03 }}</td>
    </tr>
    <tr>
      <th colspan="2">编号</th>
      <th colspan="2">手机号码</th>
      <th colspan="2">信息更新日期</th>
    </tr>
    <tr v-for="(item ,i) in info.pc_pim_pb_list" :key="i">
      <td colspan="2">{{ i+1 }}</td>
      <td colspan="2">{{ item.PB01BQ01 }}</td>
      <td colspan="2">{{ item.PB01BR01 }}</td>
    </tr>
  </tbody>
</table>
</template>